package com.example.mapper;

import com.example.pojo.Account;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;



public interface DemoMapper {

    List<Account> listAccount();

    void updateAccount(@Param("cardNo") Long cardNo, @Param("money") Long money);

    @MapKey("id")
    Map<String, Account> findMap();
}
